Include "TIdSystem.bmx"
Include "TEntitySystem.bmx"
Include "TGraphicsFramework.bmx"
Include "TEventSystem.bmx"

Type tGame
	Field fEntitySystem:tEntitySystem
	Field fGraphicsFramework:tGraphicsFramework
	Field fEventSystem:tEventSystem
	
	Method New()
		fEntitySystem 		= New tEntitySystem
		fGraphicsFramework 	= New tGraphicsFramework
		fEventSystem		= New tEventSystem
	End Method
	
	Method GetEntitySystem:tEntitySystem() 
		Return fEntitySystem
	End Method
	Method GetGraphicsFramework:tGraphicsFramework()
		Return fGraphicsFramework
	End Method
	Method GetEventSystem:tEventSystem()
		Return fEventSystem
	End Method
End Type

Global gGame:tGame = New tGame


		